package com.example.springboot.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/10/25 15:57
 */
@Data
@Document(indexName = "czk")
public class Book {
    @Id
    private String id;
    private String author;
    private String name;
}
